import request from '@/utils/request'

export function getMyAbilityRadar(token) {
  return request({
    url: '/student/ability/radar?studentId=' + token,
    method: 'get',
    params: { token }
  })
}

export function getStudentCourses(token) {
  return request({
    url: '/student/ability/courses?studentId=' + token,
    method: 'get',
    params: { token }
  })
}

export function checkAcademicWarnings(token) {
  return request({
    url: '/student/ability/academic-warning?studentId=' + token,
    method: 'get',
    params: { token }
  })
}
